
#!/bin/bash

source `dirname $0`/android_libs.sh

# 编译android项目
cd platforms/android
if [[ "$BUILD_TYPE" == "Release" ]]; then
    bash gradlew assembleRelease
else
    bash gradlew assembleDebug
fi
if [[ $? -ne 0 ]]; then
    exit 1
fi
cd -

tree platforms/android/app/build/outputs
